2019-07-13 10:18:41 -05:00
|
|
|
C_SOURCES = $(wildcard *.c)
|
|
|
|
OBJ = $(C_SOURCES:.c=.o )
|
2019-08-28 08:26:42 -05:00
|
|
|
CFLAGS = -Wall -g
|
2019-08-27 20:10:28 -05:00
|
|
|
CC = i386-myos-gcc
|
2019-07-13 10:18:41 -05:00
|
|
|
|
2019-08-31 10:42:20 -05:00
|
|
|
devfs: $(OBJ) ../libc/*
|
2019-08-28 08:26:42 -05:00
|
|
|
@$(CC) -o $@ $(CFLAGS) $(OBJ)
|
2019-07-13 10:18:41 -05:00
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
@$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
|
|
|
|
clean:
|
2019-08-31 10:42:20 -05:00
|
|
|
@rm -rf *.o devfs
|