X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=src%2Fos_regex%2FMakefile;fp=src%2Fos_regex%2FMakefile;h=559b6789e1f041639c53872f1bbaeb8564fc3583;hb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;hp=9e37d47c2db23ec6d7d73e83cebdaf28afa4593b;hpb=ef70704f0b31b59bb719b884d6a99cb9e3e2044a;p=ossec-hids.git diff --git a/src/os_regex/Makefile b/src/os_regex/Makefile index 9e37d47..559b678 100755 --- a/src/os_regex/Makefile +++ b/src/os_regex/Makefile @@ -6,17 +6,9 @@ NAME=os_regex include ../Config.Make -SRCS = *.c -OBJS = *.o - -regex: - $(CC) $(CFLAGS) -c $(SRCS) -Wall - ar cru os_regex.a ${OBJS} - ranlib os_regex.a - -main: - $(CC) $(CFLAGS) -o main main.c os_regex.a +os_regex.a: *.c *.h + ${CC} ${CFLAGS} -c ${SOURCES} + ${BUILDLIB} os_regex.a ${OBJECTS} clean: ${CLEAN} - rm -f main