Rev 9695 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9695 | Rev 9702 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | CPPFLAGS=-m32 -fpack-struct=2 -fno-exceptions -std=c++03 -Wno-write-strings -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DO_BINARY=0 -D_UNIX_ |
1 | CPPFLAGS= -m32 -fpack-struct=2 -fno-exceptions -std=c++03 -Wno-write-strings -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DO_BINARY=0 -D_UNIX_ |
2 | LDFLAGS=-m32 |
2 | LDFLAGS= -m32 |
Line 3... | Line 3... | ||
3 | 3 | ||
Line -... | Line 4... | ||
- | 4 | OBJS=$(patsubst %.cpp, %.o, $(wildcard *.cpp)) |
|
- | 5 | ||
4 | OBJS=$(patsubst %.cpp, %.o, $(wildcard *.cpp)) |
6 | TARGET = c-- |
5 | 7 | ||
Line 6... | Line 8... | ||
6 | c--: $(OBJS) |
8 | $(TARGET): $(OBJS) |
7 | g++ $(LDFLAGS) $^ -o $@ |
9 | $(CC) $(LDFLAGS) $^ -o $@ |
- | 10 | ||
- | 11 | %.o: %.cpp |
|
- | 12 | $(CC) $(CPPFLAGS) -c $< |