diff options
| author | quou <quou@disroot.org> | 2024-12-19 19:10:19 +1100 | 
|---|---|---|
| committer | quou <quou@disroot.org> | 2024-12-19 19:10:19 +1100 | 
| commit | 8199bfa31fa59fb060d2939f8612dea575b249d3 (patch) | |
| tree | a7df820470c4116c290199e4351a73c39f02036a /qstd/Makefile | |
| parent | d75880e8a6d4af817c464118ce9a43abca8cf3be (diff) | |
hash function
Diffstat (limited to 'qstd/Makefile')
| -rw-r--r-- | qstd/Makefile | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/qstd/Makefile b/qstd/Makefile index fa952dc..3c4b6a8 100644 --- a/qstd/Makefile +++ b/qstd/Makefile @@ -5,7 +5,7 @@ defines = -Dplat_x86 -Dplat_posix -Dallocation_default_alignment=8  cflags = -std=c90 -pedantic -Wall -Wextra $(DEBUG_COMPILE_FLAG) $(includes) $(defines)  lflags = $(DEBUG_LINK_FLAG) -objects = plat.o memory.o +objects = plat.o memory.o str.o  .PHONY: all clean @@ -17,6 +17,9 @@ memory.o: memory.c memory.h plat.h  plat.o: plat.c plat.h  	$(CC) -c $(cflags) plat.c -o plat.o +str.o: str.c str.h +	$(CC) -c $(cflags) str.c -o str.o +  $(target): $(objects)  	$(AR) -rcs $(target) $(objects) |