kolibrios/programs/develop/cmm/Makefile.win32
turbocat a6ec339a43 cmm:
- removed bad makefiles;
 - fixed output filename bug;
 - restored the processing of command line switches in windows style.

git-svn-id: svn://kolibrios.org@9702 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-08 17:16:25 +00:00

18 lines
344 B
Makefile

CC = i686-w64-mingw32-gcc
CPPFLAGS = -m32 -fpack-struct=2 -fno-exceptions -std=c++03 -Wno-write-strings -D_WIN32_ -DO_BINARY=0
LDFLAGS = -m32
OBJS=$(patsubst %.cpp, %.o, $(wildcard *.cpp))
TARGET = c--.exe
$(TARGET): $(OBJS)
$(CC) $(LDFLAGS) $^ -o $@
%.o: %.cpp
$(CC) $(CPPFLAGS) -c $<
clean:
rm -f $(OBJS) $(TARGET)