mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 12:24:17 +01:00
Fix makefiles bug.
FreeBSD make vs gmake in FreeBSD: $(dir $<@) => '' in gmake: $(dir $<@) => './'
This commit is contained in:
committed by
Carlos R. Mafra
parent
f65b99e615
commit
8fd4821155
@@ -108,13 +108,13 @@ get-wings-flags: get-wings-flags.in Makefile
|
||||
-e 's#$${GFXLIBS}#$(GFXLIBS)#;' \
|
||||
-e 's#$${XFTLIBS}#$(XFTLIBS)#;' \
|
||||
-e 's#$${INTLIBS}#$(INTLIBS)#;' \
|
||||
-e 's#$${XLIBS}#$(XLIBS)#;' < get-wings-flags.in > $@
|
||||
-e 's#$${XLIBS}#$(XLIBS)#;' < $(dir $<@)get-wings-flags.in > $@
|
||||
@chmod 755 $@
|
||||
|
||||
get-wutil-flags: get-wutil-flags.in Makefile
|
||||
@echo "Generating $@"
|
||||
@$(SED) -e 's#$${includedir}#$(includedir)#;' \
|
||||
-e 's#$${libdir}#$(libdir)#;' \
|
||||
-e 's#$${INTLIBS}#$(INTLIBS)#;' < get-wutil-flags.in > $@
|
||||
-e 's#$${INTLIBS}#$(INTLIBS)#;' < $(dir $<@)get-wutil-flags.in > $@
|
||||
@chmod 755 $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user