From 431c88102153b8b41a15a1105e291ecf161c030e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 18 Nov 2020 13:49:19 +0100 Subject: Started libnet --- apps/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/Makefile') diff --git a/apps/Makefile b/apps/Makefile index 322b7b6..fd7cc99 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -6,14 +6,14 @@ LD = ccache ../cross/opt/bin/i686-elf-ld OC = ccache ../cross/opt/bin/i686-elf-objcopy WARNINGS = -Wall -Wextra -pedantic-errors -Wshadow -Wpointer-arith -Wwrite-strings -Wredundant-decls -Wnested-externs -Wno-long-long -CFLAGS = $(WARNINGS) -nostdlib -nostdinc -fno-builtin -std=c99 -m32 -I../libc/inc/ -I../libgui/inc/ -I../libtxt/inc/ -fPIE -Duserspace -Ofast +CFLAGS = $(WARNINGS) -nostdlib -nostdinc -fno-builtin -std=c99 -m32 -I../libc/inc/ -I../libgui/inc/ -I../libtxt/inc/ -I../libnet/inc/ -fPIE -Duserspace -Ofast all: $(COBJS) %.o: %.c @mkdir -p ../build/apps/ @$(CC) -c $(CFLAGS) $< -o $@ - @$(LD) -o $(@:.o=.elf) -Tlink.ld -L../build/ $@ -lgui -ltxt -lc + @$(LD) -o $(@:.o=.elf) -Tlink.ld -L../build/ $@ -lgui -ltxt -lnet -lc @$(OC) -O binary $(@:.o=.elf) ../build/apps/$(@:.o=) # @cp $(@:.o=.elf) ../build/apps/$(@:.o=.dbg) -- cgit v1.2.3