forked from KolibriOS/kolibrios
115b81881f
- edited makefiles (added compiler -fpack-struct=2 option/for correct struct packing) git-svn-id: svn://kolibrios.org@9695 a494cfbc-eb01-0410-851d-a64ba20cac60
11 lines
224 B
Makefile
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 $<
|