From 7b52cc13af4e85f1ca2deb6b6c77de9c95ea0dcf Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 17 Oct 2008 06:10:33 +0000 Subject: First commit - moving from LuaForge to SourceForge --- test/simple/makefile.mingw3 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/simple/makefile.mingw3 (limited to 'test/simple/makefile.mingw3') diff --git a/test/simple/makefile.mingw3 b/test/simple/makefile.mingw3 new file mode 100644 index 0000000..cf735e8 --- /dev/null +++ b/test/simple/makefile.mingw3 @@ -0,0 +1,20 @@ +CC = gcc + +CFLAGS = -I../cd/include -I../iup/include + +LIBS = -L../cd/lib/mingw3 -L../iup/lib/mingw3 \ + -lcdiup -lcd -liup \ + -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lole32 -lcomctl32 + +OBJS = simple.o iupmain.o + +all: simple.exe + +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.exe: $(OBJS) + $(CC) -o $@ $(OBJS) $(LIBS) -- cgit v1.2.3