summaryrefslogtreecommitdiff
path: root/Applications/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/Makefile.common')
-rwxr-xr-xApplications/Makefile.common14
1 files changed, 14 insertions, 0 deletions
diff --git a/Applications/Makefile.common b/Applications/Makefile.common
new file mode 100755
index 0000000000..6e36e0b8c5
--- /dev/null
+++ b/Applications/Makefile.common
@@ -0,0 +1,14 @@
+DEFINES += -DUSERLAND
+
+all: $(APP)
+
+$(APP): $(OBJS)
+ $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -lcore -lc
+
+.cpp.o:
+ @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
+
+-include $(OBJS:%.o=%.d)
+
+clean:
+ @echo "CLEAN"; rm -f $(APP) $(OBJS) *.d