kolibrios-fun/programs/develop/cmm/Makefile.lin32
turbocat 7b2b4533ba c-- :
- Fixed strange Sign size.

git-svn-id: svn://kolibrios.org@9776 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-21 20:05:08 +00:00

19 lines
413 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 -static
OBJS=$(patsubst %.cpp, %.o, $(wildcard *.cpp))
TARGET = c--
$(TARGET): $(OBJS)
$(CC) $(LDFLAGS) $^ -o $@
%.o: %.cpp
$(CC) $(CPPFLAGS) -c $<
clean:
rm -f $(OBJS) $(TARGET)
install: $(TARGET)
cp c-- ../../cmm/c--/c--.elf