c--: Add Makefile.win32 and Makefile.lin32.
git-svn-id: svn://kolibrios.org@7980 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0635de46a3
commit
7c81cafa41
10
programs/develop/cmm/Makefile.lin32
Normal file
10
programs/develop/cmm/Makefile.lin32
Normal file
@ -0,0 +1,10 @@
|
||||
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 $<
|
10
programs/develop/cmm/Makefile.win32
Normal file
10
programs/develop/cmm/Makefile.win32
Normal file
@ -0,0 +1,10 @@
|
||||
CPPFLAGS=-m32 -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 $<
|
Loading…
Reference in New Issue
Block a user