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
287 B
Makefile
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 $<
|