diff options
| author | hpa <hpa> | 2003-12-13 02:22:56 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2003-12-13 02:22:56 +0000 |
| commit | 71f30d9fccf71b4c6be7a01a3b47deaa2e5ab3c6 (patch) | |
| tree | 4e43f678e8a4ef37a4417fd302ff404f87b16cdc /sample/Makefile | |
| parent | 1419b1baf164fa130f47178d28cbe516fe5b3c6c (diff) | |
| download | syslinux-71f30d9fccf71b4c6be7a01a3b47deaa2e5ab3c6.tar.gz | |
Minor com32 wrapper code cleanup
Diffstat (limited to 'sample/Makefile')
| -rw-r--r-- | sample/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sample/Makefile b/sample/Makefile index 8964c004..8a2eb6de 100644 --- a/sample/Makefile +++ b/sample/Makefile @@ -27,18 +27,22 @@ OBJCOPY = objcopy PPMTOLSS16 = ../ppmtolss16 LIB = libcom32.a -LIBOBJS = conio.o atou.o skipatou.o printf.o +LIBOBJS = conio.o atou.o skipatou.o printf.o c32exit.o .SUFFIXES: .lss .c .o .elf .c32 -all: syslogo.lss comecho.com hello.c32 hello2.c32 filetest.c32 c32echo.c32 fd.c32 chain.c32 +all: syslogo.lss comecho.com hello.c32 hello2.c32 filetest.c32 c32echo.c32 \ + fd.c32 chain.c32 $(LIB) +.PRECIOUS: %.o %.o: %.S $(CC) $(SFLAGS) -c -o $@ $< +.PRECIOUS: %.o %.o: %.c $(CC) $(CFLAGS) -c -o $@ $< +.PRECIOUS: %.elf %.elf: c32entry.o %.o $(LIB) $(LD) -Ttext 0x101000 -e _start -o $@ $^ |
