Skip to content
Snippets Groups Projects
Commit b4b8039a authored by arn2's avatar arn2
Browse files

Merge branch 'master-staging' into 'master'

Add submodule

See merge request arn2/git-tutorial!2
parents 06d6afe2 14ce9b18
No related branches found
No related tags found
No related merge requests found
[submodule "git-tutorial-submodule"]
path = git-tutorial-submodule
url = https://gitlab-beta.engr.illinois.edu/arn2/git-tutorial-submodule
src = $(wildcard *.c) src = main.c git-tutorial-submodule/func.c
obj = $(src:.c=.o) inc = git-tutorial-submodule
main: $(obj) main: $(obj)
$(CC) -o $@ $^ $(CC) $(src) -I $(inc) -o $@ $^
.PHONY: clean .PHONY: clean
clean: clean:
rm -f $(obj) myprog rm -f $(obj) main
Subproject commit bab00d828873d96bd237d9b96426f7b9a99b1393
#include <stdio.h> #include <stdio.h>
#include "func.h"
int main() { int main() {
func();
printf("Hello new flight software members!\n"); printf("Hello new flight software members!\n");
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment