Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
-Makefile for compiling under Linux
  • Loading branch information
readgs committed Sep 10, 2003
1 parent e45c2be commit f89c429
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Makefile
@@ -0,0 +1,23 @@
CXX = $(shell wx-config --cxx)
PROGRAM = MojoMerge

OBJECTS = Application.o CompareFilePanel.o CompareFilesUI.o \
CompareFolderPanel.o CompareFolders.o CompareFoldersUI.o Config.o \
ConfigUI.o DiffTextEdit.o FileMergeTransaction.o FolderHunk.o \
FolderMerge.o FolderMergeTransaction.o GNUDiff.o Hunk.o LineBuffer.o \
MainWindow.o Menu.o Merge.o SeparatorPanel.o TabBrowser.o \
Toolbar.o TransactionBuffer.o Test.o

.SUFFIXES: .o .cpp

.cpp.o :
$(CXX) -c `wx-config --cxxflags` -D_DEBUG -D__DEBUG__ -D__WXDEBUG__ -o $@ $<

all: $(PROGRAM)

$(PROGRAM): $(OBJECTS)
$(CXX) -o $(PROGRAM) $(OBJECTS) -lwx_gtkd_stc-2.4 `wx-config --libs`

clean:
rm -f *.o $(PROGRAM)

0 comments on commit f89c429

Please sign in to comment.