summaryrefslogtreecommitdiff
path: root/test/simple/makefile.linux
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple/makefile.linux')
-rw-r--r--test/simple/makefile.linux18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/simple/makefile.linux b/test/simple/makefile.linux
new file mode 100644
index 0000000..5d014e0
--- /dev/null
+++ b/test/simple/makefile.linux
@@ -0,0 +1,18 @@
+CC = gcc
+
+CFLAGS = -I../cd/include -I../iup/include -I/usr/X11R6/include
+
+LIBS = -L../cd/lib/Linux26 -L../iup/lib/Linux26 -L/usr/X11R6/lib \
+ -lcdiup -lcd -liup \
+ -lXm -lXpm -lXmu -lXt -lXext -lX11
+
+OBJS = simple.o iupmain.o
+
+simple.o: simple.c simple.h
+ $(CC) -o $@ -c simple.c $(CFLAGS)
+
+iupmain.o: iupmain.c simple.h
+ $(CC) -o $@ -c iupmain.c $(CFLAGS)
+
+simple: $(OBJS)
+ $(CC) -o $@ $(OBJS) $(LIBS)