diff options
author | scuri <scuri> | 2008-10-17 06:10:33 +0000 |
---|---|---|
committer | scuri <scuri> | 2008-10-17 06:10:33 +0000 |
commit | 7b52cc13af4e85f1ca2deb6b6c77de9c95ea0dcf (patch) | |
tree | d0857278bde2eff784227c57dcaf930346ceb7ac /test/simple/makefile.linux |
First commit - moving from LuaForge to SourceForge
Diffstat (limited to 'test/simple/makefile.linux')
-rw-r--r-- | test/simple/makefile.linux | 18 |
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) |