aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 6b4d8da..77785c6 100644
--- a/Makefile
+++ b/Makefile
@@ -21,17 +21,6 @@ endif
%.o: %.c
$(CC) -c $< -o $@ $(CFLAGS)
-all: ctaklm ct1986
-ifneq ($(PLATFORM), native)
- $(info Building the pi image)
- ./do_buildroot.sh $(BUILDROOT_DIR)
-endif
-
-ct1986: src/ct1986.o $(OBJS)
- $(CC) $(CFLAGS) src/ct1986.o $(OBJS) -o ct1986
- $(STRIP) ct1986
- $(SIZE) ct1986
-
ctaklm: src/ctaklm.o $(OBJS)
$(CC) $(CFLAGS) src/ctaklm.o $(OBJS) -o ctaklm
$(STRIP) ctaklm
@@ -40,6 +29,17 @@ ctaklm: src/ctaklm.o $(OBJS)
pptdb: src/pptdb.o $(OBJS)
$(CC) $(CFLAGS) src/pptdb.o $(OBJS) -o pptdb
+ct1986: src/ct1986.o $(OBJS)
+ $(CC) $(CFLAGS) src/ct1986.o $(OBJS) -o ct1986
+ $(STRIP) ct1986
+ $(SIZE) ct1986
+
+all: ctaklm ct1986
+ifneq ($(PLATFORM), native)
+ $(info Building the pi image)
+ ./do_buildroot.sh $(BUILDROOT_DIR)
+endif
+
clean:
rm -f $(PROG)
rm -f $(STAT)