Rev 9702 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9702 | turbocat | 1 | CPPFLAGS= -m32 -fpack-struct=2 -fno-exceptions -std=c++03 -Wno-write-strings -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DO_BINARY=0 -D_UNIX_ |
9776 | turbocat | 2 | LDFLAGS= -m32 -static |
7980 | dunkaist | 3 | |
4 | OBJS=$(patsubst %.cpp, %.o, $(wildcard *.cpp)) |
||
5 | |||
9702 | turbocat | 6 | TARGET = c-- |
7980 | dunkaist | 7 | |
9702 | turbocat | 8 | $(TARGET): $(OBJS) |
9 | $(CC) $(LDFLAGS) $^ -o $@ |
||
10 | |||
7980 | dunkaist | 11 | %.o: %.cpp |
9702 | turbocat | 12 | $(CC) $(CPPFLAGS) -c $< |
13 | |||
14 | clean: |
||
15 | rm -f $(OBJS) $(TARGET) |
||
9776 | turbocat | 16 | |
17 | install: $(TARGET) |
||
18 | cp c-- ../../cmm/c--/c--.elf |