kolibrios/programs/develop/cmm/Makefile.lin32
Coldy 115b81881f cmm: - added __COFF__ predefined macro (for mark MSCOFF build);
- edited makefiles (added compiler -fpack-struct=2 option/for correct struct
       packing)

git-svn-id: svn://kolibrios.org@9695 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-07 09:45:44 +00:00

11 lines
287 B
Makefile

CPPFLAGS=-m32 -fpack-struct=2 -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 $<