a6ec339a43
- 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
16 lines
352 B
Makefile
16 lines
352 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))
|
|
|
|
TARGET = c--
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(CC) $(LDFLAGS) $^ -o $@
|
|
|
|
%.o: %.cpp
|
|
$(CC) $(CPPFLAGS) -c $<
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(TARGET)
|