| Revision 2731,
445 bytes
checked in by philmoz, 4 weeks ago
(diff) |
|
Remove unnecessary recursion in makefiles, delete unneeded makefiles.
Simplify rules for modules building, move module .elf files to subdirectory to reduce clutter.
|
-
Property svn:eol-style set to
LF
|
| Line | |
|---|
| 1 | curdir=./ |
|---|
| 2 | topdir=../../ |
|---|
| 3 | |
|---|
| 4 | include $(topdir)makefile.inc |
|---|
| 5 | |
|---|
| 6 | CFLAGS+=-DLOW_LEVEL |
|---|
| 7 | |
|---|
| 8 | all: all-recursive libplatform.a |
|---|
| 9 | |
|---|
| 10 | OBJS=main.o lib.o wrappers.o kbd.o shooting.o |
|---|
| 11 | # stubs_init.o |
|---|
| 12 | |
|---|
| 13 | kbd.o: kbd.c ../generic/kbd.c |
|---|
| 14 | lib.o: lib.c |
|---|
| 15 | main.o: main.c ../generic/main.c |
|---|
| 16 | shooting.o: shooting.c ../generic/shooting.c |
|---|
| 17 | wrappers.o: wrappers.c ../generic/wrappers.c |
|---|
| 18 | |
|---|
| 19 | libplatform.a: $(OBJS) |
|---|
| 20 | |
|---|
| 21 | clean: clean-recursive |
|---|
| 22 | rm -f $(OBJS) libplatform.a |
|---|
| 23 | |
|---|
| 24 | include $(topdir)bottom.inc |
|---|
Note: See
TracBrowser
for help on using the repository browser.