Subversion Repositories Kolibri OS

Rev

Rev 9702 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9702 Rev 9776
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 -static
3
 
3
 
4
OBJS=$(patsubst %.cpp, %.o, $(wildcard *.cpp))
4
OBJS=$(patsubst %.cpp, %.o, $(wildcard *.cpp))
5
 
5
 
6
TARGET = c--
6
TARGET = c--
7
 
7
 
8
$(TARGET): $(OBJS)
8
$(TARGET): $(OBJS)
9
	$(CC) $(LDFLAGS) $^ -o $@
9
	$(CC) $(LDFLAGS) $^ -o $@
10
 
10
 
11
%.o: %.cpp
11
%.o: %.cpp
12
	$(CC) $(CPPFLAGS) -c $<
12
	$(CC) $(CPPFLAGS) -c $<
13
 
13
 
14
clean:
14
clean:
15
	rm -f $(OBJS) $(TARGET)
15
	rm -f $(OBJS) $(TARGET)
-
 
16
 
-
 
17
install: $(TARGET)
-
 
18
	cp c-- ../../cmm/c--/c--.elf
16
 
19
 
17
clean:
20
clean:
18
>
21
>