Subversion Repositories Kolibri OS

Rev

Rev 9702 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

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