Skip to content

Conversation

@jzych
Copy link

@jzych jzych commented Jan 20, 2019

No description provided.

Copy link
Owner

@ziobron ziobron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Powinno działać, aczkolwiek mam parę uwag.
LDFLAGS to flagi linkera, tutaj żadnych nie przekazujemy, bo -Iinc to flaga kompilacji.
CC i CFLAGS zwyczajowo są tak nazywane w języku C. W przypadku C++ nazywa się je odpowiednio CXX i CXXFLAGS.
I możesz też tutaj użyć zmiennych $@ i $<.
Jeśli masz czas to spróbuj poprawić :)

.PHONY: all
all: debug release

debug: $(SOURCES)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jeszcze zapomnieliśmy o plikach nagłówkowych w zależnościach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants