projects
/
censuslogo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
done with the basic effect
[censuslogo]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
ffa81be
..
f27fe85
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,15
+5,16
@@
bin = censuslogo
sys ?= $(shell uname -s | sed 's/MINGW.*/mingw/')
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 = $(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
ifeq ($(sys), mingw)
obj = $(src:.c=.w32.o)
bin = censuslogo.exe
+ CFLAGS += -DFREEGLUT_STATIC
endif
$(bin): $(obj)
endif
$(bin): $(obj)