root / Whitix / branches / hybrid / user / burn / Makefile

Revision 275, 431 bytes (checked in by mwhitworth, 7 months ago)

Update user makefiles to work on 64-bit hosts.

Line 
1CFLAGS = -ffreestanding -fno-builtin -I../libc/include -I../librtl -I../sdk/include -fno-stack-protector -m32
2
3OBJS = main.o builtins.o
4
5.c.o:
6        $(CC) $(CFLAGS) -c $*.c -o $*.o
7
8build: $(OBJS)
9        gcc -m32 -nostdlib -L../libc -L../librtl -L../posix -L../sdk/libs ../libc/init/init.o $(OBJS) -lstdc -lrtl -lconsole -lpthread -o burn -Wl,-I/linker
10        strip burn
11       
12clean:
13        rm *.o -f
14        rm -f burn
15
16install:
17        cp burn ../../CdRoot/Applications
Note: See TracBrowser for help on using the browser.