mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 19:26:31 -04:00

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@246 b45a01b8-16f6-495d-af2f-9b41ad6348cc
39 lines
541 B
Makefile
39 lines
541 B
Makefile
|
|
RS_TOP_DIR = ..
|
|
include ../make.opt
|
|
|
|
STRIP=strip
|
|
|
|
OBJ = fltkserver.o guitab.o Fl_Funky_Browser.o pqibrowseitem.o pqistrings.o \
|
|
Fl_Tree_Browser.o Fl_File_Item.o fltkpqi.o alertbox.o
|
|
|
|
WIN_OBJ = retrotray.o
|
|
|
|
# add in windows objs
|
|
ifeq ($(OS),Linux)
|
|
else
|
|
OBJ += $(WIN_OBJ)
|
|
endif
|
|
|
|
all : $(OBJ) RetroShare
|
|
|
|
RetroShare : $(OBJ)
|
|
$(CC) $(CFLAGS) -static -o RetroShare $(OBJ) -lfltk $(RSLIBS)
|
|
# $(STRIP) -s RetroShare.exe
|
|
# $(STRIP) -s RetroShare
|
|
|
|
.cc.o:
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
clean:
|
|
-$(RM) $(OBJ)
|
|
|
|
clobber: clean
|
|
-$(RM) RetroShare
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|