11 lines
271 B
Makefile
11 lines
271 B
Makefile
CPPFLAGS=-m32 -fno-exceptions -std=c++03 -Wno-write-strings -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DO_BINARY=0 -D_UNIX_
|
|
LDFLAGS=-m32
|
|
|
|
OBJS=$(patsubst %.cpp, %.o, $(wildcard *.cpp))
|
|
|
|
c--: $(OBJS)
|
|
g++ $(LDFLAGS) $^ -o $@
|
|
|
|
%.o: %.cpp
|
|
g++ $(CPPFLAGS) -c $<
|