Targets and libraries now to be found in the same, separate, subdirectory and include files split into generic and arch specific directories
diff --git a/contiki-devel-environment/Makefile b/contiki-devel-environment/Makefile
index b2f643b..7c7a8d8 100644
--- a/contiki-devel-environment/Makefile
+++ b/contiki-devel-environment/Makefile
@@ -30,25 +30,25 @@
#
# This file is part of the Contiki desktop environment
#
-# $Id: Makefile,v 1.2 2003/04/09 19:15:14 adamdunkels Exp $
+# $Id: Makefile,v 1.3 2003/04/10 07:01:30 adamdunkels Exp $
#
-all: programs
+all: hello.prg
include Makefile.cfg
CC=cc65
AS=ca65
LD=ld65
-CFLAGS=-I include -t $(SYS) --add-source -DWITH_LOADER_ARCH
+CFLAGS=-I include -I include-$(SYS) -t $(SYS) --add-source -DWITH_LOADER_ARCH
OPT=-Or
-%.prg: %.o lib/contiki-labels.o
- cl65 --module -t c64 -o $@ lib/loader-arch-module.o $^
+%.prg: %.o $(SYS)/contiki-labels.o
+ cl65 --module -t $(SYS) -o $(SYS)/$@ $(SYS)/loader-arch-module.o $^
%.o: %.c
$(CC) $(CFLAGS) $(OPT) -o $(patsubst %c, %s, $(notdir $<)) $<
$(AS) -o $@ $(AFLAGS) $(*).s
-clean:
- rm *.s *.o
\ No newline at end of file
+#clean:
+# rm *.s *.o
\ No newline at end of file