kolibrios/programs/develop/cmm/Makefile.win32
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
224 B
Makefile

CPPFLAGS=-m32 -fpack-struct=2 -fno-exceptions -std=c++03 -Wno-write-strings -D_WIN32_
LDFLAGS=-m32
OBJS=$(patsubst %.cpp, %.o, $(wildcard *.cpp))
c--.exe: $(OBJS)
g++ $^ -o $@
%.o: %.cpp
g++ $(CPPFLAGS) -c $<