diff options
Diffstat (limited to 'package/ramsmp/Makefile')
-rw-r--r-- | package/ramsmp/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/ramsmp/Makefile b/package/ramsmp/Makefile new file mode 100644 index 000000000..5cd76e09d --- /dev/null +++ b/package/ramsmp/Makefile @@ -0,0 +1,14 @@ + +all: generic + +generic: ramsmp.c fltmem.c fltmark.c intmem.c intmark.c + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o ramsmp + +i386: ramsmp.c i386/*.s i386/cpuinfo/*.s + $(CC) $(CFLAGS) -DI386_ASM $(LDFLAGS) $^ -o ramsmp + +x86_64: ramsmp.c amd64/*.s + $(CC) $(CFLAGS) -DAMD64_ASM $(LDFLAGS) $^ -o ramsmp + +clean: + rm -f *.o ramsmp |