done with the basic effect
[censuslogo] / Makefile
index ffa81be..f27fe85 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,15 +5,16 @@ bin = censuslogo
 
 sys ?= $(shell uname -s | sed 's/MINGW.*/mingw/')
 
-CFLAGS = -pedantic -Wall -g
+CFLAGS = -pedantic -Wall -g -DNOLOAD
 LDFLAGS = $(LDFLAGS_$(sys)) -lm
 
 LDFLAGS_Linux = -lGL -lGLU -lglut
-LDFLAGS_mingw = -lmingw32 -mconsole -lopengl32 -lglu32 -lfreeglut
+LDFLAGS_mingw = -lmingw32 -mconsole -lfreeglut_static -lopengl32 -lglu32 -lgdi32 -lwinmm
 
 ifeq ($(sys), mingw)
        obj = $(src:.c=.w32.o)
        bin = censuslogo.exe
+       CFLAGS += -DFREEGLUT_STATIC
 endif
 
 $(bin): $(obj)