kolibrios-gitea/programs/develop/cmm/Makefile.lin32
Ivan Baravy 7c81cafa41 c--: Add Makefile.win32 and Makefile.lin32.
git-svn-id: svn://kolibrios.org@7980 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-24 22:34:13 +00:00

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 $<