c--: Add Makefile.win32 and Makefile.lin32.

git-svn-id: svn://kolibrios.org@7980 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2020-05-24 22:34:13 +00:00
parent 0635de46a3
commit 7c81cafa41
2 changed files with 20 additions and 0 deletions

View 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 $<

View 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 $<