Subversion Repositories Kolibri OS

Rev

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

  1. CC = i686-w64-mingw32-gcc
  2.  
  3. CPPFLAGS = -m32 -fpack-struct=2 -fno-exceptions -std=c++03 -Wno-write-strings -D_WIN32_ -DO_BINARY=0
  4. LDFLAGS  = -m32
  5.  
  6. OBJS=$(patsubst %.cpp, %.o, $(wildcard *.cpp))
  7.  
  8. TARGET = c--.exe
  9.  
  10. $(TARGET): $(OBJS)
  11.         $(CC) $(LDFLAGS) $^ -o $@
  12.  
  13. %.o: %.cpp
  14.         $(CC) $(CPPFLAGS) -c $<
  15.  
  16. clean:
  17.         rm -f $(OBJS) $(TARGET)
  18.  
  19. install: $(TARGET)
  20.         cp c--.exe ../../cmm/c--/c--.exe